﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PurchaseAdd.aspx.cs" Inherits="Purchase_PurchaseAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>发布信息</title>
    <link rel="Stylesheet" href="../Css/System/General.css" type="text/css" />
    <link rel="Stylesheet" href="../Css/2009/message.css" type="text/css" />
    <script type="text/javascript" src="../js/calendar.js"></script>
    <script type="text/javascript" src="../js/Industry.js"></script>
</head>
<body>
    <form id="form1" action="" runat="server">
	<asp:Label ID="dl" Text="WS_登录头部" runat="server"></asp:Label>
                <asp:HiddenField ID="txtSortB" runat="server"></asp:HiddenField>
                <asp:HiddenField ID="txtSortM" runat="server"></asp:HiddenField>
                <asp:HiddenField ID="txtSortS" runat="server"></asp:HiddenField>
                <asp:Label ID="lblMessage" runat="server" Visible="false" ForeColor="red"></asp:Label>
                <div id="main">
            <div class="pur_table_bg">
                免费发布求购信息</div>
                <a name="flagKeyword"></a>
                 <table width="780" border="0" align="center" cellpadding="0" cellspacing="0" class="pur_table">
                <tr>
                    <th class="thbg">
                        填写求购信息</th>
                    <th>
                        <span class="span_r"><font color="red">*</font>为必填</span>请务必填写准确的信息！（否则信息不能被审核通过。）</th>
                </tr>
                    <tr>
                        <td width="16%" class="left2">
                            <strong>商机名称：</strong><font class="red">*</font>                        </td>
                        <td width="84%">
                            <span>
                                <asp:TextBox ID="txtName" MaxLength="100" runat="server" Width="200px">                                </asp:TextBox></span>
                            <div id="txt0">                            </div>                        </td>
                    </tr>
                    <tr>
                        <td class="left2">
                            <strong>关键字：</strong><font class="red">*</font>                        </td>
                        <td>
                            <span>
                                <asp:TextBox ID="txtKey" MaxLength="50" runat="server" Width="200px">                                </asp:TextBox></span><div id="txt1">
                                </div>                        </td>
                    </tr>
					<tr>
                        <td class="left2">
                            <strong>行业分类：</strong><font class="red">*</font></td>
                        <td>
						<span>
                            <select id="SortB" name="SortB" runat="server" size="8" style="width: 132px">
                            </select>
                            <select id="SortM" name="SortM" runat="server" size="8" style="width: 132px">
                            </select>
                            <select id="SortS" name="SortS" runat="server" size="8" style="width: 132px">
                            </select>
							</span>
							<div id="hangye"></div>
							</td>
                    </tr>
                    <tr>
                        <td class="left2">
                            <strong>详细说明：</strong> </td>
                      <td><div style=" float:left; margin-left:-30px;"><fckeditorv2:fckeditor id="txtContent" runat="server" basepath="~/Control/fckeditor/" toolbarset="Basic" height="400px" width="640px"></fckeditorv2:fckeditor></div></td>
                    </tr>
                    <tr>
                        <td class="left2">
                            <strong>产品图片：</strong>                        </td>
                        <td>
                           <asp:HiddenField ID="ImgUrl1" runat="server" />
                            <a href="" id="txturldz" target="_blank">
                                <img border="0" src="../Images/System/wutu.gif" id="ImgUrl" name="ImgUrl"  alt="" runat="server"
                                    style="width: 106px; height: 95px" /></a><br />
                            <input id="txtupload" type="button" value="上传" onclick="return rowTest()" /><br />
                            <div id="rowTest" style="display: none">
                                <iframe name="tag" src="../Control/Upload.html" style="width: 550px; height: 150px"
                                    frameborder="0" scrolling="no" onload="this.height=tag.document.body.scrollHeight">                                </iframe>
                            </div>                        </td>
                    </tr>
                     <a name="xiangxi"></a>
                    <tr>
                        <td class="left2">
                            <strong>有效期：</strong>
                        </td>
                        <td class="td_c">
                            <asp:RadioButtonList ID="RadioTime" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                                <asp:ListItem Value="10">10天</asp:ListItem>
                                <asp:ListItem Value="20">20天</asp:ListItem>
                                <asp:ListItem Value="30">1个月</asp:ListItem>
                                <asp:ListItem Value="90">3个月</asp:ListItem>
                                <asp:ListItem Selected="True" Value="180">6个月</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                        <td class="left2">
                            <strong>品牌：</strong>                        </td>
                        <td>
                            <span>
                                <asp:TextBox ID="txtBrand" runat="server" Width="133px"></asp:TextBox></span>
                            <div id="txt2">                            </div>                        </td>
                    </tr>
                    <tr>
                        <td class="left2">
                            <strong>型号：</strong>                        </td>
                        <td style="height: 14px">
                            <span>
                                <asp:TextBox ID="txtModel" runat="server" Width="131px"></asp:TextBox></span>
                            <div id="txt3">                            </div>                        </td>
                    </tr>
                    <tr>
                        <td class="left2">
                            <strong>需求数量：</strong><font class="red">*</font>                        </td>
                        <td>
                            <span>
                                <asp:TextBox ID="txtCount" onkeyup="if(event.keyCode!=37&&event.keyCode!=39)value=value.replace(/\D/g,'');" runat="server" Width="130px"></asp:TextBox></span>
                            <div id="txt4">                            </div>                        </td>
                    </tr>
                    <tr>
                        <td class="left2">
                            <strong>产品单价：</strong><font class="red">*</font>                        </td>
                        <td>
                            <span>
                                <asp:TextBox ID="txtPrice" runat="server" Width="68px"></asp:TextBox>
                                元 /
                                <asp:DropDownList ID="dropUnit" runat="server">                                </asp:DropDownList></span>
                            <div id="txt5">                            </div>                        </td>
                    </tr>
                    <tr>
                        <td colspan="3" align="center" height="45">
                            <asp:Button ID="btnSave" runat="server" Text="发布" OnClick="btnSave_Click" />&nbsp;
                            <asp:Button ID="btnCancel" runat="server" OnClick="btnCancel_Click" Text="取消" /></td>
                    </tr>
                </table>
                </div>
    <div id="font" class="f_n main960">
            <asp:Label ID="bt" Text="WS_网站底部" runat="server"></asp:Label>
    </div> 
    </form>   
     <script language="javascript" type="text/javascript">
	   setup(0);
    </script>

    <script type="text/javascript" src="../js/Common.js"></script>

    <script type="text/javascript" src="../js/Purchase.js"></script>
</body>
</html>
